:root {
  --fontsize: 130px;
}

.card-container {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70vh;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #151515;
  width: 300px;
  height: 500px;
  font-size: 80px;
  border-radius: 6px;
  cursor: pointer;
}

.card:nth-of-type(n) {
  color: #151515;
  background-color: red;
}

.card:nth-of-type(2n) {
  color: red;
  background-color: #151515;
}

.card:hover {
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 4s;
  transform: translateY(-90px);
}

.card:nth-of-type(1) {
  transform: rotate(-4deg) translateX(120px) translateY(40px);
}

.card:nth-of-type(2) {
  z-index: 2;
}

.card:nth-of-type(3) {
  z-index: 2;
}

.card:nth-of-type(4) {
  transform: rotate(4deg) translateX(-120px) translateY(40px);
  z-index: 1px;
}

.pockerlist {
  display: flex;
  justify-content: center;
}

.pocker-list-item {
  box-sizing: border-box;
  font-size: var(--fontsize);
  cursor: pointer;
  line-height: 1;
}

.pocker-list-item:hover,
.jockers:hover {
  color: blue;
  transform: translateY(-10px);
}

.pocker-guess-item {
  display: flex;
  justify-content: center;
  font-size: var(--fontsize);
  cursor: pointer;
}

.jockers {
  font-size: var(--fontsize);
  cursor: pointer;
}

.body {
  border: 0;
  margin: 0;
}

.pockercontent-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pockeritem-container {
  display: flex;
  width: 50%;
  justify-content: center;
  border: 1px solid #000;
  padding: 20px 10px;
}

.guess-pocker-title {
  font-size: 20px;
  font-weight: 600;
  margin: 20px;
}

.pockeritem-guess,
.pockeritem-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  width: 50%;
}

.pockeritem-guess,
.pockeritem-choice .pockeritem-title {
  font-size: 20px;
  font-weight: 500;
}

.play-again {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 400px;
  margin-top: 60px;
}
